from common import ReadBaseExcel

class ReadNotice:
    def notice(self):
        Fromdata = ReadBaseExcel.ReadBaseExcel().Read_excel('/dataSource/Notice.xls')
        list= []
        for i in Fromdata:
            Run = i.get('Run')
            path = i.get('path')
            body = i.get('body')
            msg = i.get('msg')
            code = i.get('code')
            customerID = i.get('customerID')
            list.append((Run,path,body,msg,code,customerID))
        return list




if __name__ == '__main__':
    print(ReadNotice().notice())